{extends file="get_usermod:layouts/main/layout.html"} {block name="content"} {load_language_text section="buttons" name="button"} {load_language_text section="admin_labels" name="label"} {load_language_text section="admin_general" name="general"} {load_language_text section="customers_status" name="customers_status"} {block name="admin_customer_group_overview"}
{block name="admin_customer_group_overview_create_button_container"}
{block name="admin_customer_group_overview_create_button"} {$button.create} {/block}
{/block} {block name="admin_customer_group_overview_table"}

{block name="admin_customer_group_overview_table_head"}
| {$customers_status.TABLE_HEADING_CUSTOMERS_STATUS} | {$customers_status.TABLE_HEADING_TAX_PRICE} | {$customers_status.TABLE_HEADING_TAX_BILL nofilter} | {$customers_status.TABLE_HEADING_DISCOUNT_ATTRIBUTES nofilter} | {$customers_status.TABLE_HEADING_DISCOUNT} | {$customers_status.TABLE_HEADING_CUSTOMERS_GRADUATED nofilter} | {$customers_status.TABLE_HEADING_FSK18_DISPLAY_BUY nofilter} | {$customers_status.TABLE_HEADING_REVIEWS_READ_WRITE nofilter} |
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{/block} {block name="admin_customer_group_overview_table_body"}
{foreach $content.customerGroups as $customerGroup} {block name="admin_customer_group_overview_table_body_row"}
{block name="admin_customer_group_overview_table_body_members_column"} {$customerGroup->getMembers()} {/block} {block name="admin_customer_group_overview_table_body_name_column"} | {if $customerGroup->isDefault()} {$customerGroup->getName($content.languageCode)} {else} {$customerGroup->getName($content.languageCode)} {/if} {/block} {block name="admin_customer_group_overview_table_body_show_price_Tax_column"} | {if $customerGroup->getSettings()->isShowPriceTax()} {$customers_status.TAX_YES} {else} {$customers_status.TAX_NO} {/if} {/block} {block name="admin_customer_group_overview_table_body_add_Tax_ot_column"} | {if $customerGroup->getSettings()->isAddTaxOt()} {else} {/if} {/block} {block name="admin_customer_group_overview_table_body_discount_column"} | {$customerGroup->getConfigurations()->getDiscount()}% {/block} {block name="admin_customer_group_overview_table_body_ot_discount_column"} | {$customerGroup->getConfigurations()->getOtDiscount()}% {/block} {block name="admin_customer_group_overview_table_body_graduated_column"} | {if $customerGroup->getId() === 0} {else} {if $customerGroup->getSettings()->isGraduatedPrices()} {else} {/if} {/if} {/block} {block name="admin_customer_group_overview_table_body_fsk_18_display_and_buy_column"} | {if $customerGroup->getSettings()->isFsk18Display()} {else} {/if} | {*the separation pipe between to settings*} {if $customerGroup->getSettings()->isFsk18Purchasable()} {else} {/if} {/block} {block name="admin_customer_group_overview_table_body_read_and_write_reviews_column"} | {if $customerGroup->getSettings()->isReadReviews()} {else} {/if} | {*the separation pipe between to settings*} {if $customerGroup->getSettings()->isWriteReviews()} {else} {/if} {/block} {block name="admin_customer_group_overview_table_body_actions_column"} | {block name="admin_customer_group_overview_table_body_actions_column_actions"} {if !$customerGroup->isDefault()} {if $customerGroup->getId() > 3} {/if} {/if} {/block} {/block}
{/block} {/foreach}
{/block}

{/block} {block name="admin_customer_groups_overviw_modal_includes"} {include file="get_usermod:customer_group/modals/creation_modal.html"} {include file="get_usermod:customer_group/modals/remove_confirmation_modal.html"} {include file="get_usermod:customer_group/modals/edit_modal.html"} {/block}
{/block} {/block}